package com.ttg.model.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ttg.common.config.LocalDateTimeDeserializer;
import com.ttg.common.config.LocalDateTimeSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 个人客户标签表
 *
 * @author zhy
 * @date 2024/04/25 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tbl_qyyx_cust_sign_tag")
public class QyyxCustSignTag implements Serializable {


    private static final long serialVersionUID = -6036220562576451632L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 数仓客户号
     */
    @TableField(value = "cst_sc_id")
    private String cstScId;
    /**
     * 客户号
     */
    @TableField(value = "cst_id")
    private String cstId;
    /**
     * 标签类型
     */
    @TableField(value = "tag_type")
    private String tagType;
    /**
     * 标签编号
     */
    @TableField(value = "tag_no")
    private String tagNo;
    /**
     * 标签名称
     */
    @TableField(value = "tag_name")
    private String tagName;
    /**
     * 标签状态
     */
    @TableField(value = "tag_status")
    private String tagStatus;


    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime updateTime;

}
